package com.yishusmt.mobsmt.advice;

/**
 * @author zhangyi
 * @date 2018/8/8 11:26
 */
public class HandleException extends RuntimeException{

    /**
     * 错误状态码
     */
    private String code;
    /**
     * 错误信息
     */
    private String msg;

    public HandleException(String code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
